﻿using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using SaiLing.SingleSignOn.Domain.Entities.System;

namespace SaiLing.SingleSignOn.Repository.Mapping.System
{
    public class OrganizationMenuAuthorityMapping : IEntityTypeConfiguration<OrganizationMenuAuthority>
    {
        public void Configure(EntityTypeBuilder<OrganizationMenuAuthority> builder)
        {
            builder.Ignore(x=>x.CreateTime).Ignore(x=>x.LogicRemove);
            builder.ToTable("SaiLing_System_OrganizationMenuAuthority");
        }
    }
}
